package com.youlai.boot.weekPlan.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.youlai.boot.weekPlan.model.entity.UserWeekPlan;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.weekPlan.model.query.UserWeekPlanQuery;
import com.youlai.boot.weekPlan.model.vo.UserWeekPlanVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 用户每周运动时常计划Mapper接口
 *
 * @author cuisheng
 * @since 2025-04-01 10:39
 */
@Mapper
public interface UserWeekPlanMapper extends BaseMapper<UserWeekPlan> {

    /**
     * 获取用户每周运动时常计划分页数据
     *
     * @param page 分页对象
     * @param queryParams 查询参数
     * @return
     */
    Page<UserWeekPlanVO> getUserWeekPlanPage(Page<UserWeekPlanVO> page, UserWeekPlanQuery queryParams);

}
